#ifndef BUTTON_H
#define BUTTON_H

#include <QPushButton>

class Button : public QPushButton
{
Q_OBJECT

bool m_isCross;
bool m_clicked;
public:
    static bool globalCross;
    explicit Button(QWidget *parent = 0);
    QSize sizeHint();
    void paintEvent(QPaintEvent *e);
    int getState();
signals:

public slots:

};

#endif // BUTTON_H
